package com.itheima.pojo;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 登录日志表
 * </p>
 *
 * @author author
 * @since 2024-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)

public class EmpLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */

    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 登录时间
     */
    private LocalDateTime loginTime;

    /**
     * 是否成功, 1:成功, 0:失败
     */
    private Integer isSuccess;

    /**
     * JWT令牌
     */
    private String jwt;

    /**
     * 耗时, 单位:ms
     */
    private Long costTime;


}
